import api from '../index.js';

// 图片验证
export const getPicCaptcha = (params) => api.get(`/api/auth/getPicCaptcha`, params);

//登录
export const login = data => api.post(`/api/auth/login`, data);